#pragma once

#include "TrackingThread.hxx"

class OpenCVTrackingThread :
    public TrackingThread
{
    Q_OBJECT
public:
    OpenCVTrackingThread();
    ~OpenCVTrackingThread();

    void run() override;

    void setTrackerType(const char* trackerType) { strcpy(_trackerType, trackerType); }

private:
    char _trackerType[256];
    cv::Ptr<cv::MultiTracker> _tracker;
    
    bool _isTrackerInitialized;
};

